package com.jmu.medicineknows.service;

import com.jmu.medicineknows.dto.DrugPageDto;
import com.jmu.medicineknows.entity.DrugInfo;
import com.jmu.medicineknows.entity.Result;
import org.springframework.web.multipart.MultipartFile;

public interface DrugService {
    Result drugList(DrugPageDto drugPageDto);

    Result updateDrug(DrugInfo drugInfo);

    Result delete(Long id);

    Result insert(DrugInfo drugInfo);

    Result upload(MultipartFile file);
}
